Intersection Of Two Arrays - Leetcode 349 - Python